//
//  BuyViewController.m
//  Wedding fantastic
//
//  Created by dllo on 15/7/8.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "BuyViewController.h"

@interface BuyViewController ()

@property (nonatomic, retain)UIWebView *webView;

@end

@implementation BuyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.sendUrl]];
    NSLog(@"%@", self.sendUrl);
    [self.view addSubview:self.webView];
    [self.webView loadRequest:request];
    [_webView release];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
